LPIC-2 - Linux Professional Institute Certification by Bresnahan Christine; Blum Richard;

LPIC-2 - Linux Professional Institute Certification by Bresnahan Christine; Blum Richard;

Author:Bresnahan, Christine; Blum, Richard; [Bresnahan, Christine]
Language: eng
Format: epub
ISBN: 9781119150800
Publisher: John Wiley & Sons, Incorporated
Published: 2016-09-27T00:00:00+00:00


Using the m4 Preprocessor

Most sendmail server configurations are a matter of setting common rules to implement common features, such as forwarding local messages to an MDA program or passing email destined for an alias address to the proper local user account. Because of this, developers created a simpler way of generating the monolithic sendmail.cf configuration file.

They used the GNU m4 macro processor to create the sendmail configuration file from a set of simple macro definitions. They created macro definitions to define common sendmail features, and the m4 macro processor generates the sendmail.cf configuration lines needed to implement those features. Some macro definitions are built into the m4 processor program. Other macro definitions are defined in the sendmail configuration distribution.

You can now use the m4 preprocessor to create configuration files by just defining a small set of macros that list the features that you need to be available in your email server. Table 7.7 lists some of the macros that are available for you to use in the sendmail configuration file.

TABLE 7.7 Sendmail macro definitions



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.